<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<BOSS.Framework.Search.Result.ISearchResult>" %>
<%@ Import Namespace="BOSS.Domain.Customers" %>
<%@ Import Namespace="BOSS.Web.Extensions" %>

<%
    var data = Model.UnderlayerItems.OfType<Customer>().Select(x => new 
    { 
        Id = x.Id,
        SerialNumber = x.SerialNumber,
        Name = x.Name,
        Telephone = x.Telephone,
        Mobile = x.Mobile,
        Email = x.Email,
        QQ = x.QQ,
        MSN = x.MSN,
        Address = x.Address   
    });
%>
<%= Html.ToJson(data) %>